package com.zyh.assessments.domain;

import com.zyh.common.core.domain.BaseEntity;
import com.zyh.exam.domain.ExamPaper;
import com.zyh.question.domain.ExamQuestion;

import java.io.Serializable;
import java.util.List;

/**
 * 试卷加试题的实体类
 * @author ZYH
 * @version 1.0
 * @date 2025-02-23
 */
public class Assessments extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 试卷实体类
     */
    private ExamPaper examPaper;

    /**
     * 试题实体类
     */
    private List<ExamQuestion> examQuestions;

    public ExamPaper getExamPaper() {
        return examPaper;
    }

    public void setExamPaper(ExamPaper examPaper) {
        this.examPaper = examPaper;
    }

    public List<ExamQuestion> getExamQuestions() {
        return examQuestions;
    }

    public void setExamQuestions(List<ExamQuestion> examQuestions) {
        this.examQuestions = examQuestions;
    }

    @Override
    public String toString() {
        return "Assessments{" +
                "examPaper=" + examPaper +
                ", examQuestions=" + examQuestions +
                '}';
    }
}
